package com.autotest.nore.mapper;

import com.autotest.nore.domain.ReportCollectionCase;
import com.autotest.nore.dto.ReportCollectionCaseDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReportCollectionCaseMapper {
    void addReportCollectionCase(ReportCollectionCase reportCollectionCase);

    Integer countReportCollectionResultTrue(String reportCollectionId);
    Integer countReportCollectionResultFalse(String reportCollectionId);

    List<ReportCollectionCaseDTO> getReportCollectionCaseList(String reportCollectionId);

    void deleteByReportId(String reportId);

    String getCaseId(String reportCollectionId);

}